package entity;

import java.util.Date;

/*
杨威
2021/9/7
21:20
*/
public class Book {
    private Integer bId;
    private String bTitle;
    private String bAuthor;
    private Date bPublicDate;
    private String bPublisher;
    private String bIsbn;
    private Double bPrice;

    public Book() {
    }

    @Override
    public String toString() {
        return "Book{" +
                "bId=" + bId +
                ", bTitle='" + bTitle + '\'' +
                ", bAuthor='" + bAuthor + '\'' +
                ", bPublicDate=" + bPublicDate +
                ", bPublisher='" + bPublisher + '\'' +
                ", bIsbn='" + bIsbn + '\'' +
                ", bPrice=" + bPrice +
                '}';
    }

    public Date getbPublicDate() {
        return bPublicDate;
    }

    public void setbPublicDate(Date bPublicDate) {
        this.bPublicDate = bPublicDate;
    }

    public Book(Integer bId, String bTitle, String bAuthor, Date bPulicDate, String bPublisher, String bIsbn, Double bPrice) {
        this.bId = bId;
        this.bTitle = bTitle;
        this.bAuthor = bAuthor;
        this.bPublicDate = bPulicDate;
        this.bPublisher = bPublisher;
        this.bIsbn = bIsbn;
        this.bPrice = bPrice;
    }

    public Integer getbId() {
        return bId;
    }

    public void setbId(Integer bId) {
        this.bId = bId;
    }

    public String getbTitle() {
        return bTitle;
    }

    public void setbTitle(String bTitle) {
        this.bTitle = bTitle;
    }

    public String getbAuthor() {
        return bAuthor;
    }

    public void setbAuthor(String bAuthor) {
        this.bAuthor = bAuthor;
    }

    public Date getbPulicDate() {
        return bPublicDate;
    }

    public void setbPulicDate(Date bPulicDate) {
        this.bPublicDate = bPulicDate;
    }

    public String getbPublisher() {
        return bPublisher;
    }

    public void setbPublisher(String bPublisher) {
        this.bPublisher = bPublisher;
    }

    public String getbIsbn() {
        return bIsbn;
    }

    public void setbIsbn(String bIsbn) {
        this.bIsbn = bIsbn;
    }

    public Double getbPrice() {
        return bPrice;
    }

    public void setbPrice(Double bPrice) {
        this.bPrice = bPrice;
    }
}
